/**
 *
 */
package com.hybris.msig.paymentgateway.populators;

import de.hybris.platform.converters.Populator;
import de.hybris.platform.servicelayer.dto.converter.ConversionException;

import com.hybris.msig.paymentgateway.data.PaymentResponseData;
import com.hybris.msig.paymentgateway.model.PaymentResponseModel;


/**
 * @author i313922
 *
 */
public class MsigPaymentResponsePopulator implements Populator<PaymentResponseModel, PaymentResponseData>
{

	/*
	 * (non-Javadoc)
	 *
	 * @see de.hybris.platform.converters.Populator#populate(java.lang.Object, java.lang.Object)
	 */
	@Override
	public void populate(final PaymentResponseModel source, final PaymentResponseData target) throws ConversionException
	{
		target.setRefid(source.getRefid());
		target.setStatus(source.getStatus());
		target.setGtwAckID(source.getGtwAckID());
		target.setMerchantBank(source.getMerchantBank());
		target.setGtwTimestamp(source.getGtwTimestamp());
	}

}
